Tag Link | [OS_Process->IsOpen] | Category | OS Process |
---|---|---|---|
Type | Member | Source Available | Yes |
Support | Preferred | Version | 8.5 |
Change | New | Data Source | Any |
Output Type | Boolean | Security | None |
Implementation | Sets | Lasso 8.5 |
[OS_Process->IsOpen] returns true if the [OS_Process] object is currently attached to a native process. This tag can be used to determine if the native process has exited on its own.
Var: 'myProcess' = (OS_Process);
$myProcess->(Open: '/bin/ls', (Array: '.'));
If: $myProcess->IsOpen;
Encode_HTML: $myProcess->Read;
$myProcess->Close;
/If;
No Parameters Required.
See the Lasso 8 Language Guide for examples of how to use this tag.